home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 5817 / 5817.xpi / chrome / content / exim.xul < prev    next >
Extensible Markup Language  |  2010-02-11  |  5KB  |  126 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://sqlitemanager/skin/sqlitemanager.css" type="text/css"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://sqlitemanager/locale/exim.dtd">
  6. <!-- all id should begin with exim -->
  7. <overlay id="eximOverlay"
  8.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  9.  
  10. <tabpanel id="eximTabpanel" flex="1">
  11.   <notificationbox id="boxNotifyExim" flex="1">
  12.   <hbox id="eximStatus" hidden="true">
  13.   <label id="eximStatusLabel" style="background-color: #ffff66;padding-top:2px;"/>
  14.   <button label="Cancel Import" oncommand="SmExim.handleImportCompletion(0);"/>
  15.   </hbox>
  16.   <vbox flex="1" style="overflow:auto">
  17.   <vbox>
  18.   <label id="eximSubtitle"/>
  19.   </vbox>
  20.     <vbox id="eximPageFileAndFormat">
  21.       <!-- dropdown list for table names-->
  22.       <hbox id="eximObjectSelection" style="margin: 10px;">
  23.         <spacer flex="1"/>
  24.         <label style="padding-top:3px" accesskey="&eximDbName.ak;"  control="eximDbName" value="&eximDbName;"/>
  25.         <menulist id="eximDbName" oncommand="SmExim.onSelectDb('dbName')"/>
  26.         <label id="eximLblObjectType" style="padding-top:3px" 
  27.            accesskey="&tablename.ak;" control="eximObjectNames" 
  28.             value="&tablename;"/>
  29.          <menulist id="eximObjectNames" style="width: 25ex" sizetopopup="always" oncommand="SmExim.onSelectObject();">
  30.           <menupopup>
  31.             <menuitem label="&loading;" selected="true"/>
  32.           </menupopup>
  33.         </menulist>
  34.         <spacer flex="1"/>
  35.       </hbox>
  36.     <!-- hbox for file selection-->
  37.     <vbox id="eximFileSelection" hidden="true" style="margin: 10px;">
  38.       <hbox>
  39.         <textbox id="eximFilename" flex="1" readonly="true"/>
  40.         <button label="&eximFilename;" accesskey="&eximFilename.ak;"  oncommand="SmExim.selectFile();"/>
  41.       </hbox>
  42.       <hbox>
  43.         <label style="padding-top:3px" accesskey="&eximFileCharSet.ak;" control="eximFileCharSet" value="&eximFileCharSet;"/>
  44.         <menulist id="eximFileCharSet" style="width:15ex" editable="true"  sizetopopup="none">
  45.         </menulist>
  46.       </hbox>
  47.     </vbox>
  48.  
  49.     <tabbox>
  50.       <tabs id="eximTabsFormat" onselect="SmExim.onSelectTab();">
  51.         <tab id="eximTabCsv" class="exportTabs" label="&CSV;" persist="selected"/>
  52.         <tab id="eximTabSql" class="exportTabs" label="&SQL;" persist="selected"/>
  53.         <tab id="eximTabXml" class="exportTabs" label="&XML;" persist="selected"/>
  54.       </tabs>
  55.       <tabpanels>
  56.         <tabpanel>
  57.           <vbox>
  58.           <label id="eximCsvTableNameLbl" value="&csv.tableName;"/>
  59.           <textbox id="eximCsvTableName"/>
  60.           <checkbox id="eximCsv_column-names" label="&csv.firstrow;"/>
  61.           <groupbox>
  62.           <caption label="&csv.separate;" />
  63.           <radiogroup id="eximCsv_separator" value=",">
  64.           <hbox>
  65.             <radio label="&Comma; (,)" value="," accesskey="&Comma.ak;" selected="true"/>
  66.             <radio label="&Semicolon; (;)" value=";"/>
  67.             <radio label="&Pipe; (|)" value="|"/>
  68.             <radio label=" " value="\t"/>
  69.           </hbox>
  70.           </radiogroup>
  71.           <checkbox id="eximCsv_ignoreTrailingDelimiter" label="Ignore Trailing Separator/Delimiter"/>
  72.           </groupbox>
  73.           <groupbox>
  74.           <caption label="&csv.enclose;" />
  75.           <radiogroup id="eximCsv_encloser" value="din">
  76.           <hbox>
  77.             <radio label="&eximCsv_encloser.doublequotes.standard;" value="din" 
  78.                accesskey="&eximCsv_encloser.doublequotes.standard.ak;" selected="true"/>
  79.           </hbox>
  80.           <hbox>
  81.             <radio label="&eximCsv_encloser.doublequotes.always;" value="""/>
  82.           </hbox>
  83.           <hbox>
  84.   <!--
  85.             <radio label="&eximCsv_encloser.singlequotes;" value="'"/>
  86.             <radio label="&eximCsv_encloser.other;" value="other"/>
  87.             <textbox id="eximCsv_encloser-text" value=""/>
  88.   -->
  89.           </hbox>
  90.           </radiogroup>
  91.           </groupbox>
  92.           <hbox>
  93.             <button id="eximCsv-expSaveSetting" label="&eximCsv-expSaveSetting;" tooltiptext="&eximCsv-expSaveSetting-tooltiptext;" hidden="true" oncommand="SmExim.saveCsvExportSetting();"/>
  94.           </hbox>
  95.           </vbox>
  96.         </tabpanel>
  97.         <tabpanel>
  98.           <vbox>
  99.           <groupbox>
  100.           <caption label="&sql.settings;"/>
  101.             <checkbox id="eximSql-create-statement" label="&sql.create;"/>
  102.             <checkbox id="eximSql-transact-statement" label="&sql.transaction;"/>
  103.             <description id="eximSql-transact-desc" width="60">&sql.transaction.desc;</description>
  104.           </groupbox>
  105.           </vbox>
  106.         </tabpanel>
  107.         <tabpanel>
  108.           <vbox>
  109.             <checkbox id="eximXml_type-attribute" style="width:300px" label="&xml.type;" checked="true"/>
  110.             <description width="60">&xml.type.desc;</description>
  111.           </vbox>
  112.         </tabpanel>
  113.       </tabpanels>
  114.     </tabbox>
  115.   
  116.   <hbox>
  117.     <button id="exim-exp-ok" label="&exim-exp-ok;" oncommand="SmExim.doOKExport();"/>
  118.     <button id="exim-imp-ok" label="&exim-imp-ok;" oncommand="SmExim.doOKImport();"/>
  119.     <button id="exim-cancel" label="&exim-cancel;" style="color:red;" oncommand="SQLiteManager.closeTab();"/>
  120.   </hbox>
  121. </vbox>
  122. </vbox>
  123. </notificationbox>
  124. </tabpanel>
  125. </overlay>
  126.